
//不支持ie跳转
var getExplorer = function() {
  
  var explorer = window.navigator.userAgent,
  compare = function(s) { return (explorer.indexOf(s) >= 0); },
  ie11 = (function() { return ("ActiveXObject" in window) })();
  if (compare("MSIE") || ie11) { return 'ie'; }
  else if (compare("Firefox") && !ie11) { return 'Firefox'; }
  else if (compare("Chrome") && !ie11) { return 'Chrome'; }
  else if (compare("Opera") && !ie11) { return 'Opera'; }
  else if (compare("Safari") && !ie11) { return 'Safari'; }
}

function getContextPath() {
  var pathName = document.location.pathname;
  var index = pathName.substr(1).indexOf("/");
  var result = pathName.substr(0,index+1);
  return result;
}

//alert(getExplorer())

var aa=getExplorer()
//console.log(aa)

if(aa == 'ie'){
  //console.log('好')

  


  //console.log('https://r3.ihuipao.cn/wuxih5/support.html'+'?url='+window.location.href)
  
  window.location.href='https://r3.ihuipao.cn/wuxih5/support.html'+'?url='+window.location.href;
  //window.location.href='http://www.baidu.com'
}



